<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>轮回之牢: DebuggerWidget类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">轮回之牢<span id="projectnumber">&#160;0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-slots">Protected 槽</a> &#124;
<a href="class_debugger_widget-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">DebuggerWidget类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>调试显示界面  
 <a href="class_debugger_widget.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="debuggerwidget_8h_source.html">debuggerwidget.h</a>&gt;</code></p>
<div class="dynheader">
类 DebuggerWidget 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_debugger_widget__inherit__graph.png" border="0" usemap="#a_debugger_widget_inherit__map" alt="Inheritance graph"/></div>
<map name="a_debugger_widget_inherit__map" id="a_debugger_widget_inherit__map">
<area shape="rect" title="调试显示界面" alt="" coords="5,80,124,107"/>
<area shape="rect" title=" " alt="" coords="28,5,101,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
DebuggerWidget 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_debugger_widget__coll__graph.png" border="0" usemap="#a_debugger_widget_coll__map" alt="Collaboration graph"/></div>
<map name="a_debugger_widget_coll__map" id="a_debugger_widget_coll__map">
<area shape="rect" title="调试显示界面" alt="" coords="5,80,124,107"/>
<area shape="rect" title=" " alt="" coords="28,5,101,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a05bffa9623daf322b545dcdb79bedaae"><td class="memItemLeft" align="right" valign="top"><a id="a05bffa9623daf322b545dcdb79bedaae" name="a05bffa9623daf322b545dcdb79bedaae"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DebuggerWidget</b> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:a05bffa9623daf322b545dcdb79bedaae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a213eff4932d40c037f65e430f39c82f6"><td class="memItemLeft" align="right" valign="top"><a id="a213eff4932d40c037f65e430f39c82f6" name="a213eff4932d40c037f65e430f39c82f6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="memdesc:a213eff4932d40c037f65e430f39c82f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">清除画板内容 <br /></td></tr>
<tr class="separator:a213eff4932d40c037f65e430f39c82f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89e32d55be8d489fb2e13ef9e3782617"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debugger_widget.html#a89e32d55be8d489fb2e13ef9e3782617">line</a> (int x, int y, int eX, int eY, const QColor &amp;color=Qt::red)</td></tr>
<tr class="memdesc:a89e32d55be8d489fb2e13ef9e3782617"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制直线  <a href="class_debugger_widget.html#a89e32d55be8d489fb2e13ef9e3782617">更多...</a><br /></td></tr>
<tr class="separator:a89e32d55be8d489fb2e13ef9e3782617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38b07584ef838427e34a3fb99109b560"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debugger_widget.html#a38b07584ef838427e34a3fb99109b560">circle</a> (int x, int y, int r, const QColor &amp;color=Qt::red)</td></tr>
<tr class="memdesc:a38b07584ef838427e34a3fb99109b560"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制圆形  <a href="class_debugger_widget.html#a38b07584ef838427e34a3fb99109b560">更多...</a><br /></td></tr>
<tr class="separator:a38b07584ef838427e34a3fb99109b560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab85b13be50022ce7892c5ce3569ed0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debugger_widget.html#a0ab85b13be50022ce7892c5ce3569ed0">text</a> (int x, int y, const QString &amp;str, const QColor &amp;color=Qt::red, int font_size=20) const</td></tr>
<tr class="memdesc:a0ab85b13be50022ce7892c5ce3569ed0"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制文字  <a href="class_debugger_widget.html#a0ab85b13be50022ce7892c5ce3569ed0">更多...</a><br /></td></tr>
<tr class="separator:a0ab85b13be50022ce7892c5ce3569ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4268918c7df22e1eb211e1ba1f22583a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_debugger_widget.html#a4268918c7df22e1eb211e1ba1f22583a">rectangle</a> (int x, int y, int eX, int eY, const QColor &amp;color=Qt::red)</td></tr>
<tr class="memdesc:a4268918c7df22e1eb211e1ba1f22583a"><td class="mdescLeft">&#160;</td><td class="mdescRight">绘制矩形  <a href="class_debugger_widget.html#a4268918c7df22e1eb211e1ba1f22583a">更多...</a><br /></td></tr>
<tr class="separator:a4268918c7df22e1eb211e1ba1f22583a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a70cdb54bac47f550c3c8c47dbd739272"><td class="memItemLeft" align="right" valign="top"><a id="a70cdb54bac47f550c3c8c47dbd739272" name="a70cdb54bac47f550c3c8c47dbd739272"></a>
QPixmap *&#160;</td><td class="memItemRight" valign="bottom"><b>pix</b> = nullptr</td></tr>
<tr class="separator:a70cdb54bac47f550c3c8c47dbd739272"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-slots" name="pro-slots"></a>
Protected 槽</h2></td></tr>
<tr class="memitem:ab5433f4f0002e14007064582d0a578b9"><td class="memItemLeft" align="right" valign="top"><a id="ab5433f4f0002e14007064582d0a578b9" name="ab5433f4f0002e14007064582d0a578b9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (QPaintEvent *e) override</td></tr>
<tr class="separator:ab5433f4f0002e14007064582d0a578b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >调试显示界面 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a38b07584ef838427e34a3fb99109b560" name="a38b07584ef838427e34a3fb99109b560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38b07584ef838427e34a3fb99109b560">&#9670;&nbsp;</a></span>circle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DebuggerWidget::circle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>Qt::red</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>绘制圆形 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>圆心x </td></tr>
    <tr><td class="paramname">y</td><td>圆心y </td></tr>
    <tr><td class="paramname">r</td><td>半径 </td></tr>
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a89e32d55be8d489fb2e13ef9e3782617" name="a89e32d55be8d489fb2e13ef9e3782617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e32d55be8d489fb2e13ef9e3782617">&#9670;&nbsp;</a></span>line()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DebuggerWidget::line </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>Qt::red</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>绘制直线 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>起始x </td></tr>
    <tr><td class="paramname">y</td><td>起始y </td></tr>
    <tr><td class="paramname">eX</td><td>结束x </td></tr>
    <tr><td class="paramname">eY</td><td>结束y </td></tr>
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_debugger_widget_a89e32d55be8d489fb2e13ef9e3782617_icgraph.png" border="0" usemap="#aclass_debugger_widget_a89e32d55be8d489fb2e13ef9e3782617_icgraph" alt=""/></div>
<map name="aclass_debugger_widget_a89e32d55be8d489fb2e13ef9e3782617_icgraph" id="aclass_debugger_widget_a89e32d55be8d489fb2e13ef9e3782617_icgraph">
<area shape="rect" title="绘制直线" alt="" coords="865,31,1012,57"/>
<area shape="rect" href="class_debugger_widget.html#a4268918c7df22e1eb211e1ba1f22583a" title="绘制矩形" alt="" coords="639,31,817,57"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,31,591,57"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,31,369,57"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,5,199,32"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,56,169,83"/>
</map>
</div>

</div>
</div>
<a id="a4268918c7df22e1eb211e1ba1f22583a" name="a4268918c7df22e1eb211e1ba1f22583a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4268918c7df22e1eb211e1ba1f22583a">&#9670;&nbsp;</a></span>rectangle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DebuggerWidget::rectangle </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>Qt::red</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>绘制矩形 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>矩形左下角x </td></tr>
    <tr><td class="paramname">y</td><td>矩形左下角y </td></tr>
    <tr><td class="paramname">eX</td><td>矩形右上角x </td></tr>
    <tr><td class="paramname">eY</td><td>矩形右上角y </td></tr>
    <tr><td class="paramname">color</td><td>颜色 </td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="class_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_cgraph.png" border="0" usemap="#aclass_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_cgraph" alt=""/></div>
<map name="aclass_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_cgraph" id="aclass_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_cgraph">
<area shape="rect" title="绘制矩形" alt="" coords="5,5,184,32"/>
<area shape="rect" href="class_debugger_widget.html#a89e32d55be8d489fb2e13ef9e3782617" title="绘制直线" alt="" coords="232,5,379,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_icgraph.png" border="0" usemap="#aclass_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_icgraph" alt=""/></div>
<map name="aclass_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_icgraph" id="aclass_debugger_widget_a4268918c7df22e1eb211e1ba1f22583a_icgraph">
<area shape="rect" title="绘制矩形" alt="" coords="639,31,817,57"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,31,591,57"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,31,369,57"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,5,199,32"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,56,169,83"/>
</map>
</div>

</div>
</div>
<a id="a0ab85b13be50022ce7892c5ce3569ed0" name="a0ab85b13be50022ce7892c5ce3569ed0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ab85b13be50022ce7892c5ce3569ed0">&#9670;&nbsp;</a></span>text()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DebuggerWidget::text </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>color</em> = <code>Qt::red</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>font_size</em> = <code>20</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>绘制文字 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>文字中心x </td></tr>
    <tr><td class="paramname">y</td><td>文字中心y </td></tr>
    <tr><td class="paramname">str</td><td>文字内容 </td></tr>
    <tr><td class="paramname">color</td><td>文字颜色 </td></tr>
    <tr><td class="paramname">font_size</td><td>字体大小 </td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_debugger_widget_a0ab85b13be50022ce7892c5ce3569ed0_icgraph.png" border="0" usemap="#aclass_debugger_widget_a0ab85b13be50022ce7892c5ce3569ed0_icgraph" alt=""/></div>
<map name="aclass_debugger_widget_a0ab85b13be50022ce7892c5ce3569ed0_icgraph" id="aclass_debugger_widget_a0ab85b13be50022ce7892c5ce3569ed0_icgraph">
<area shape="rect" title="绘制文字" alt="" coords="639,31,787,57"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,31,591,57"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,31,369,57"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,5,199,32"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,56,169,83"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Ui/<a class="el" href="debuggerwidget_8h_source.html">debuggerwidget.h</a></li>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Ui/debuggerwidget.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
